package com.xushu.learn_springboot_xushu.repository;

import com.xushu.learn_springboot_xushu.pojo.User;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

/**
 * @author: yu
 * @description:
 * @create: 2025/03/17 12:15
 */

@Repository     //把当前的类注册为spring的bean  （表示数据访问的bean）
public interface UserRepository extends CrudRepository<User,Integer> {
}
